package lin.an.food.service;

import com.baomidou.mybatisplus.extension.service.IService;
import lin.an.food.entity.FoodDetails;

/**
 * @author zhoulinq
 * @date 2025/4/10
 */
public interface FoodDetailsService extends IService<FoodDetails> {
    FoodDetails getFoodDetail(int foodId);
    boolean toggleLike(int foodId, int userId);
    boolean toggleFavorite(int foodId, int userId);

}
